package dto;

import java.io.Serializable;
import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;


@ManagedBean
@SessionScoped
public class IntrebariDTO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private int id;
	
	//private int id_chestionar;
	
	private int tip;
	
	private String intrebare;
	
	private List<RaspunsuriDTO> raspunsuri;
	
	private int selectat;
	
	private String raspuns;
	
	private ChestionareDTO chestionareDTO;
	
	public IntrebariDTO(){
		super();
	}
	
	public IntrebariDTO(int id, int id_chestionar, int tip, String intrebare){
		this.id = id;
		///this.id_chestionar = id_chestionar;
		this.tip = tip;
		this.intrebare = intrebare;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	/*
	public int getId_chestionar() {
		return id_chestionar;
	}

	public void setId_chestionar(int id_chestionar) {
		this.id_chestionar = id_chestionar;
	}
	*/
	public int getTip() {
		return tip;
	}

	public void setTip(int tip) {
		this.tip = tip;
	}

	public String getIntrebare() {
		return intrebare;
	}

	public void setIntrebare(String intrebare) {
		this.intrebare = intrebare;
	}

	public List<RaspunsuriDTO> getRaspunsuri() {
		return raspunsuri;
	}

	public void setRaspunsuri(List<RaspunsuriDTO> raspunsuri) {
		this.raspunsuri = raspunsuri;
	}

	public ChestionareDTO getChestionareDTO() {
		return chestionareDTO;
	}

	public void setChestionareDTO(ChestionareDTO chestionareDTO) {
		this.chestionareDTO = chestionareDTO;
	}

	public int getSelectat() {
		return selectat;
	}

	public void setSelectat(int selectat) {
		this.selectat = selectat;
	}

	public String getRaspuns() {
		return raspuns;
	}

	public void setRaspuns(String raspuns) {
		this.raspuns = raspuns;
	}

	

}
